<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%
	String path = request.getContextPath() + "/";
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path;
%>
<html>
<head>
	<base href="<%=basePath %>"/>
	<meta charset="utf-8">
	<title>部门添加或修改</title>
	<meta name="renderer" content="webkit">
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
	<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
	<meta name="apple-mobile-web-app-status-bar-style" content="black">
	<meta name="apple-mobile-web-app-capable" content="yes">
	<meta name="format-detection" content="telephone=no">
	<link rel="stylesheet" href="layui/css/layui.css" media="all" />
	<link rel="stylesheet" href="css/public.css" media="all" />
</head>
<body class="childrenBody">
	<div class="layui-row">
		<form class="layui-form layui-col-lg8 margin-padding">
			<div class="layui-form-item">
				<label class="layui-form-label">部门编号</label>
				<div class="layui-input-block">
					<input type="text" name="id"   lay-verify="required"  class="layui-input id">
				</div>
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label">部门名称</label>
				<div class="layui-input-block">
					<input type="text" name="name"   lay-verify="required"  class="layui-input name">
				</div>
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label">部门上级编号</label>
				<div class="layui-input-block">
					<input type="text" name="pid"   lay-verify="required" class="layui-input pid">
				</div>
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label">部门层级</label>
				<div class="layui-input-block">
					<input type="email" name="levels"   lay-verify="required"  class="layui-input levels">
				</div>
			</div>

		</form>
	</div>
	<script type="text/javascript" src="layui/layui.js"></script>
	<script type="text/javascript" src="js/dept.js"></script>
</body>
</html>